DEFINITION MODULE InOut ;

VAR
  done : BOOLEAN ;

(* Crude subset of PIM InOut, use ANSI_C StdIO/ or BIO/FIO instead *)

PROCEDURE Write( ch : CHAR ) ;
PROCEDURE WriteLn ;
PROCEDURE WriteString( str : ARRAY OF CHAR ) ;
PROCEDURE WriteInt( x : LONGINT ; n : INTEGER ) ;
PROCEDURE WriteOct( x : LONGINT ; n : INTEGER ) ;
PROCEDURE WriteHex( x : LONGINT ; n : INTEGER ) ;

PROCEDURE Read	     ( VAR ch : CHAR ) ;
PROCEDURE ReadString ( VAR str : ARRAY OF CHAR ) ;
PROCEDURE ReadInt    ( VAR x : INTEGER ) ;
PROCEDURE ReadLongInt( VAR x : LONGINT ) ;

END InOut.
